package com.ocean.product.service.impl;

import com.ocean.product.domain.OProductImage;
import com.ocean.product.mapper.OProductImageMapper;
import com.ocean.product.service.IOProductImageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author msy
 * @date 2024/2/1
 */
@Service
public class OProductImageServiceImpl implements IOProductImageService {

    @Autowired
    private OProductImageMapper productImageMapper;

    @Override
    public List<OProductImage> getImageList(String ncFileId) {
        OProductImage image = new OProductImage();
        image.setImageProductId(ncFileId);image.setIsDel(0);
        return productImageMapper.selectOProductImageList(image);
    }
}
